import React from 'react'
import styles from './Carousel.module.css'
import carouselImg01 from '../../assets/images/carousel_1.jpg'
import carouselImg02 from '../../assets/images/carousel_1.jpg'
import carouselImg03 from '../../assets/images/carousel_1.jpg'
import { Image, Carousel as AntCarousel } from 'antd'
export const Carousel: React.FC = () => {
  return (
    <AntCarousel autoplay className={styles["slider"]}>
      <Image src={carouselImg01} alt="" />
      <Image src={carouselImg02} alt="" />
      <Image src={carouselImg03} alt="" />
    </AntCarousel>
  )
}